package org.csu.secondhand.api.service;

import org.csu.secondhand.api.entity.Chatting;

import java.util.List;

public interface ChattingService {
    Chatting insertChatting(Chatting chatting);
    List<Chatting> getChattingByUser(String user);
    Chatting sendMsg(String user1, String user2, String content);
    Chatting getChatting(String user1, String user2);
    Chatting iReadIt(long id);
}
